package model;

import java.io.Serializable;
import java.util.Date;

public class Image implements Serializable {
	private static final long serialVersionUID = -8497286992159682775L;
	private int idImage;
	private byte[] image;
	private String imageName;
	private Date creationDate;
	private int dimensionX;
	private int dimensionY;
	private int idUser;

	/**
	 * @param idImage
	 *            the idImage to set
	 */
	public void setIdImage(int idImage) {
		this.idImage = idImage;
	}

	/**
	 * @return the idImage
	 */
	public int getIdImage() {
		return idImage;
	}

	/**
	 * @param image
	 *            the image to set
	 */
	public void setImage(byte[] image) {
		this.image = image;
	}

	/**
	 * @return the image
	 */
	public byte[] getImage() {
		return image;
	}

	/**
	 * @param imageName
	 *            the imageName to set
	 */
	public void setImageName(String imageName) {
		this.imageName = imageName;
	}

	/**
	 * @return the imageName
	 */
	public String getImageName() {
		return imageName;
	}

	/**
	 * @param creationDate the creationDate to set
	 */
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	/**
	 * @return the creationDate
	 */
	public Date getCreationDate() {
		return creationDate;
	}

	/**
	 * @param dimensionX the dimensionX to set
	 */
	public void setDimensionX(int dimensionX) {
		this.dimensionX = dimensionX;
	}

	/**
	 * @return the dimensionX
	 */
	public int getDimensionX() {
		return dimensionX;
	}

	/**
	 * @param dimensionY the dimensionY to set
	 */
	public void setDimensionY(int dimensionY) {
		this.dimensionY = dimensionY;
	}

	/**
	 * @return the dimensionY
	 */
	public int getDimensionY() {
		return dimensionY;
	}

	/**
	 * @param idUser
	 *            the idUser to set
	 */
	public void setIdUser(int idUser) {
		this.idUser = idUser;
	}

	/**
	 * @return the idUser
	 */
	public int getIdUser() {
		return idUser;
	}

}
